package DataObjects;

import java.util.Vector;

public class Topic {
	private int id;
	private Vector<String> words;
	//TODO need fathers and sons
	
	public Topic(int id){
		this.id=id;
		words=new Vector<String>();
	}

	public void addWord(String word){
		words.add(word);
	}
	
	public int getId() {
		return id;
	}
	
	public Vector<String> getWords(){
		return this.words;
	}
	
	public String getName() {
		return words.toString();//TODO do a normal name
	}
}
